package com.gelsanalyzer.business;

/**
 * 
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 * 
 * @author Jared Olhoft</a>
 */
public class Student extends AbstractUser {
    private String major;

    /**
     * @param firstName
     * @param lastName
     * @param major
     */
    public Student(String firstName, String lastName, String major) {
        super(firstName, lastName);
        this.major = major;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public boolean Authenticate(String password) {
        // TODO: run password against data source
        // for now, always say they are authenticated
        return true;
    }

    public boolean isAuthenticated() {
        // for now just always say they are Authenticated...
        return true;
    }

}
